package org.aurora.model.request;

import org.aurora.model.type.RequestCommandType;
import org.aurora.remote.protocol.RemoteRequest;

import java.io.Serializable;
import java.util.List;

public class ReportTaskRequest extends RemoteRequest implements Serializable {

    private String appcode;

    private List<String> taskNames;

    public ReportTaskRequest(String appcode, List<String> taskNames) {
        this.appcode = appcode;
        this.taskNames = taskNames;
    }

    public String getAppcode() {
        return appcode;
    }

    public void setAppcode(String appcode) {
        this.appcode = appcode;
    }

    public List<String> getTaskNames() {
        return taskNames;
    }

    public void setTaskNames(List<String> taskNames) {
        this.taskNames = taskNames;
    }

    @Override
    public int getCommandCode() {
        return RequestCommandType.CLIENT_REPORT_TASK.getCode();
    }
}
